package com.programmingeyeclient.eduemployment.service.impl;

import com.programmingeyeclient.eduemployment.entity.Eduemployment;
import com.programmingeyeclient.eduemployment.mapper.EduemploymentMapper;
import com.programmingeyeclient.eduemployment.service.EduemploymentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 业务逻辑实现类
 */
@Service
public class EduemploymentServiceImpl implements EduemploymentService {

    @Autowired
    private EduemploymentMapper eduemploymentMapper;
    @Override
    public List<Eduemployment> ListEduemployment() {
        return eduemploymentMapper.ListEduemployment();
    }

    @Override
    public Eduemployment getEduemploymentId(Integer id) {
        return eduemploymentMapper.getEduemploymentId(id);
    }
}
